package com.wyd.studentboot.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SignInLag {

    private Integer id;
    private String student_id;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public SignInLag() {
    }

    public SignInLag(String student_id, Integer status) {
        this.student_id = student_id;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStudent_id() {
        return student_id;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "SignIn{" +
                "id=" + id +
                ", student_id=" + student_id +
                ", status=" + status +
                ", time=" + time +
                '}';
    }
}
